package pers.qianyu.module.core.domain.system.dto;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author mizzle rain
 * @date 2021-04-07 15:19
 */
public class SysUserFollowDTO implements Serializable {
    private static final long serialVersionUID = 4146727930106152506L;
    @NotNull(message = "用户id不能为空")
    private Long userId;
    @NotNull(message = "关注的用户id不能为空")
    private Long followedUserId;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getFollowedUserId() {
        return followedUserId;
    }

    public void setFollowedUserId(Long followedUserId) {
        this.followedUserId = followedUserId;
    }
}
